import Home from '@/components/Home';
import Client from '@/components/second/Client';
import Delivery from '@/components/second/Delivery';
import DeliveryScan from '@/components/second/DeliveryScan';
import Material from '@/components/second/Material';
import MaterialAffirm from '@/components/second/MaterialAffirm';
import Nav from '@/components/second/Nav';
import Signature from '@/components/second/Signature';
import SignedEdition from '@/components/second/SignedEdition';
import warehouse from '@/components/second/warehouse';
import Vue from 'vue';
import Router from 'vue-router';

import CkScan from './../components/second/CkScan';
import otherWarehouse from './../components/second/otherWarehouse';
import Print from './../components/second/Print';
import zebra from './../components/second/zebra';
import ReturnNav from './../components/second/Return/ReturnNav';
import ReturnGoodsList from './../components/second/Return/ReturnGoodsList';
import ReturnMenu from './../components/second/Return/ReturnMenu';
import ReturnMenu2 from './../components/second/Return/ReturnMenu2';
import OnlyReadGoods from './../components/second/Return/OnlyReadGoods';
import ReturnSupplier from './../components/second/Return/ReturnSupplier';

Vue.use(Router)

export default new Router({
  routes: [{
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/Nav',
      name: 'Nav',
      component: Nav
    },
    {
      path: '/DeliveryScan',
      name: 'DeliveryScan',
      component: DeliveryScan
    },
    {
      path: '/Delivery',
      name: 'Delivery',
      component: Delivery
    },
    {
      path: '/warehouse',
      name: 'warehouse',
      component: warehouse
    },
    {
      path: '/Material',
      name: 'Material',
      component: Material
    },
    {
      path: '/MaterialAffirm',
      name: 'MaterialAffirm',
      component: MaterialAffirm
    },
    {
      path: '/Signature',
      name: 'Signature',
      component: Signature
    },
    {
      path: '/Client',
      name: 'Client',
      component: Client
    },
    {
      path: '/SignedEdition',
      name: 'SignedEdition',
      component: SignedEdition
    },
    {
      path: '/CkScan',
      name: 'CkScan',
      component: CkScan
    },
    {
      path: '/Print',
      name: 'Print',
      component: Print
    },
    {
      path: '/zebra',
      name: 'zebra',
      component: zebra
    },
    {
      path: '/otherWarehouse',
      name: 'otherWarehouse',
      component: otherWarehouse
    },
    {
      path: '/ReturnNav',
      name: 'ReturnNav',
      component: ReturnNav
    },
    {
      path: '/ReturnGoodsList',
      name: 'ReturnGoodsList',
      component: ReturnGoodsList
    },
    {
      path: '/ReturnMenu',
      name: 'ReturnMenu',
      component: ReturnMenu
    },
    {
      path: '/ReturnMenu2',
      name: 'ReturnMenu2',
      component: ReturnMenu2
    },
    {
      path: '/OnlyReadGoods',
      name: 'OnlyReadGoods',
      component: OnlyReadGoods
    },
    {
      path: '/ReturnSupplier',
      name: 'ReturnSupplier',
      component: ReturnSupplier
    },
  ]
})
